﻿using System;
using System.Diagnostics;
using System.Diagnostics.Tracing;
using System.Collections.Generic;
using System.Text;

namespace Me.Prettyprint.Cassandra.Utils
{
    public class ConfigureLogging
    {
        public static System.Diagnostics.ConsoleTraceListener consoleListener = new ConsoleTraceListener();
        public static void EnableConsoleTraceListener()
        {
            System.Diagnostics.Trace.Listeners.Add(consoleListener);
        }
        public static void DisableConsoleTraceListener()
        {
            System.Diagnostics.Trace.Listeners.Remove(consoleListener);
        }
    }
}
